package com.ccsu.mymarket.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ccsu.mymarket.entity.Role;
import com.ccsu.mymarket.entity.ShoppingCart;

public interface ShoppingCartService extends IService<ShoppingCart> {

    /**
     * @param type
     * @param id
     * @return
     */
    boolean deleteCart(Integer type,Integer id);

    boolean updateCart(ShoppingCart cart);
}
